package org.eimac.imacquizz;

import java.util.Vector;

public class QuestionModel {
	
private String question;
private Vector<String> answers;
private int idAnswer;
private String description;

public String getDescription() {
	return description;
}

public void setDescription(String description) {
	this.description = description;
}

public QuestionModel(String question, int idAnswer,String description){
	this.description = description;
	this.question = question;
	this.idAnswer = idAnswer;
	answers = new Vector<String>();
}

public String getQuestion() {
	return question;
}

public void setQuestion(String question) {
	this.question = question;
}


public int getIdAnswer() {
	return idAnswer;
}

public void setIdAnswer(int idAnswer) {
	this.idAnswer = idAnswer;
}

public String getReponse(int i){
	return answers.get(i);
}

public void addReponse(String s){
	answers.add(s);
}

}
